package com.hyt.it.ogt.pj.enums;

/**
 * 评卷项目平台绑定状态枚举
 *
 * @author huangwu
 */
public enum ProjectPtBindingStatusEnums {

    UNBINDING(0, "未绑定"),
    BINDING(1, "已绑定");
    private Integer bindingStatus;
    private String desc;

    ProjectPtBindingStatusEnums(Integer bindingStatus, String desc) {
        this.bindingStatus = bindingStatus;
        this.desc = desc;
    }

    public static ProjectPtBindingStatusEnums getEnumsByStatus(Integer bindingStatus) {
        for (ProjectPtBindingStatusEnums markTypeEnums : ProjectPtBindingStatusEnums.values()) {
            if (markTypeEnums.getBindingStatus().equals(bindingStatus)) {
                return markTypeEnums;
            }
        }
        return null;
    }

	public Integer getBindingStatus() {
		return bindingStatus;
	}

	public String getDesc() {
		return desc;
	}
}
